package allrobots.test;

import allrobots.DispensingMachineThread.DispensingMachineThread;

public class testThread implements Runnable{
    @Override
    public void run() {
        System.out.println("线程启动了");
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        DispensingMachineThread.orders.poll();
        System.out.println("tese:"+DispensingMachineThread.orders.size());
    }
}
